package com.nali.dal.statement.function.formatter;

import org.springframework.stereotype.Component;

import com.nali.dal.statement.function.NumberOperater;

@Component
public class Multiply extends NumberOperater<Number> {

	@Override
	protected Number handleDouble(double value1, double value2) {
		return value1 * value2;
	}

	@Override
	protected Number handleInteger(int value1, int value2) {
		return value1 * value2;
	}

	@Override
	protected Number handleLong(long value1, long value2) {
		return value1 * value2;
	}

}
